package com.whxd.system.main.web;

import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 主框架控制类
 * 
 * @author 张世鹏
 * @since 2013-6-15
 */
@Controller
@RequestMapping("/casback")
public class CasBackCtrl {

	private static Logger logger = LoggerFactory.getLogger(CasBackCtrl.class);

	@RequestMapping(method = RequestMethod.GET)
	@ResponseBody
	public String casback(HttpServletRequest request) {
		return request.getSession().getId();
	}

}
